﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="RemoteOpenSQLDestinations" targetNamespace="http://tempuri.org/RemoteOpenSQLDestinations.xsd" xmlns:mstns="http://tempuri.org/RemoteOpenSQLDestinations.xsd" xmlns="http://tempuri.org/RemoteOpenSQLDestinations.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="RemoteOpenSQLDestinations" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="RemoteOpenSQLDestinations" msprop:Generator_UserDSName="RemoteOpenSQLDestinations">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="DestinationTree" msdata:Locale="it-IT" msprop:Generator_TableClassName="DestinationTreeDataTable" msprop:Generator_TableVarName="tableDestinationTree" msprop:Generator_TablePropName="DestinationTree" msprop:Generator_RowDeletingName="DestinationTreeRowDeleting" msprop:Generator_UserTableName="DestinationTree" msprop:Generator_RowChangingName="DestinationTreeRowChanging" msprop:Generator_RowEvHandlerName="DestinationTreeRowChangeEventHandler" msprop:Generator_RowDeletedName="DestinationTreeRowDeleted" msprop:Generator_RowEvArgName="DestinationTreeRowChangeEvent" msprop:Generator_RowChangedName="DestinationTreeRowChanged" msprop:Generator_RowClassName="DestinationTreeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="FatherID" msprop:Generator_ColumnVarNameInTable="columnFatherID" msprop:Generator_ColumnPropNameInRow="FatherID" msprop:Generator_ColumnPropNameInTable="FatherIDColumn" msprop:Generator_UserColumnName="FatherID" type="xs:string" default="0" />
              <xs:element name="IsFolder" msprop:Generator_ColumnVarNameInTable="columnIsFolder" msprop:Generator_ColumnPropNameInRow="IsFolder" msprop:Generator_ColumnPropNameInTable="IsFolderColumn" msprop:Generator_UserColumnName="IsFolder" type="xs:boolean" default="true" />
              <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" default="" />
              <xs:element name="IsExpanded" msprop:Generator_ColumnVarNameInTable="columnIsExpanded" msprop:Generator_ColumnPropNameInRow="IsExpanded" msprop:Generator_ColumnPropNameInTable="IsExpandedColumn" msprop:Generator_UserColumnName="IsExpanded" type="xs:boolean" default="true" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Destination" msprop:Generator_TableClassName="DestinationDataTable" msprop:Generator_TableVarName="tableDestination" msprop:Generator_TablePropName="Destination" msprop:Generator_RowDeletingName="DestinationRowDeleting" msprop:Generator_UserTableName="Destination" msprop:Generator_RowChangingName="DestinationRowChanging" msprop:Generator_RowEvHandlerName="DestinationRowChangeEventHandler" msprop:Generator_RowDeletedName="DestinationRowDeleted" msprop:Generator_RowEvArgName="DestinationRowChangeEvent" msprop:Generator_RowChangedName="DestinationRowChanged" msprop:Generator_RowClassName="DestinationRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" default="0" />
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" type="xs:string" default="" />
              <xs:element name="AppServerHost" msprop:Generator_ColumnVarNameInTable="columnAppServerHost" msprop:Generator_ColumnPropNameInRow="AppServerHost" msprop:Generator_ColumnPropNameInTable="AppServerHostColumn" msprop:Generator_UserColumnName="AppServerHost" type="xs:string" minOccurs="0" />
              <xs:element name="SystemNumber" msprop:Generator_ColumnVarNameInTable="columnSystemNumber" msprop:Generator_ColumnPropNameInRow="SystemNumber" msprop:Generator_ColumnPropNameInTable="SystemNumberColumn" msprop:Generator_UserColumnName="SystemNumber" type="xs:short" minOccurs="0" />
              <xs:element name="Client" msprop:Generator_ColumnVarNameInTable="columnClient" msprop:Generator_ColumnPropNameInRow="Client" msprop:Generator_ColumnPropNameInTable="ClientColumn" msprop:Generator_UserColumnName="Client" type="xs:short" minOccurs="0" />
              <xs:element name="Username" msprop:Generator_ColumnVarNameInTable="columnUsername" msprop:Generator_ColumnPropNameInRow="Username" msprop:Generator_ColumnPropNameInTable="UsernameColumn" msprop:Generator_UserColumnName="Username" type="xs:string" minOccurs="0" />
              <xs:element name="SAPRouterString" msprop:Generator_ColumnVarNameInTable="columnSAPRouterString" msprop:Generator_ColumnPropNameInRow="SAPRouterString" msprop:Generator_ColumnPropNameInTable="SAPRouterStringColumn" msprop:Generator_UserColumnName="SAPRouterString" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DestinationTreeSelectedID" msprop:Generator_TableClassName="DestinationTreeSelectedIDDataTable" msprop:Generator_TableVarName="tableDestinationTreeSelectedID" msprop:Generator_TablePropName="DestinationTreeSelectedID" msprop:Generator_RowDeletingName="DestinationTreeSelectedIDRowDeleting" msprop:Generator_UserTableName="DestinationTreeSelectedID" msprop:Generator_RowChangingName="DestinationTreeSelectedIDRowChanging" msprop:Generator_RowEvHandlerName="DestinationTreeSelectedIDRowChangeEventHandler" msprop:Generator_RowDeletedName="DestinationTreeSelectedIDRowDeleted" msprop:Generator_RowEvArgName="DestinationTreeSelectedIDRowChangeEvent" msprop:Generator_RowChangedName="DestinationTreeSelectedIDRowChanged" msprop:Generator_RowClassName="DestinationTreeSelectedIDRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SelectedID" msprop:Generator_ColumnVarNameInTable="columnSelectedID" msprop:Generator_ColumnPropNameInRow="SelectedID" msprop:Generator_ColumnPropNameInTable="SelectedIDColumn" msprop:Generator_UserColumnName="SelectedID" type="xs:int" default="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="DestinationTreeKeyFatherIDName">
      <xs:selector xpath=".//mstns:DestinationTree" />
      <xs:field xpath="mstns:FatherID" />
      <xs:field xpath="mstns:Name" />
    </xs:unique>
    <xs:unique name="DestinationTreePrimaryKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DestinationTree" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="DestinationPrimaryKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Destination" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DestinationTreeSelectedID" />
      <xs:field xpath="mstns:SelectedID" />
    </xs:unique>
    <xs:keyref name="FK_DestinationTree_Destination" refer="DestinationTreePrimaryKey" msprop:rel_Generator_UserChildTable="Destination" msprop:rel_Generator_ChildPropName="GetDestinationRows" msprop:rel_Generator_ParentPropName="DestinationTreeRow" msprop:rel_Generator_UserRelationName="FK_DestinationTree_Destination" msprop:rel_Generator_RelationVarName="relationFK_DestinationTree_Destination" msprop:rel_Generator_UserParentTable="DestinationTree">
      <xs:selector xpath=".//mstns:Destination" />
      <xs:field xpath="mstns:ID" />
    </xs:keyref>
  </xs:element>
</xs:schema>